home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 21
/
AACD 21.iso
/
AACD
/
Online
/
DaytimeDemo
/
daytimedemo.readme
< prev
next >
Wrap
Text File
|
2001-04-08
|
766b
|
22 lines
Short: Daytime client/server example + source (Stevens)
Author: t.heinrich@amzeiger.de (Thomas Heinrich)
Uploader: t.heinrich@amzeiger.de (Thomas Heinrich)
Version: 1.0
Type: comm/tcp
This little daytime service demo demonstrates, how to write network
applications using bsdsocket.library, WITHOUT ixemul.library !
"daytime" is a client to connect to a daytimeserver (port 13). It
prints everything to stdout, the server sends. The command template
is "H=HOSTIP/K,P=PORT/K/N". Default is hostip "127.0.0.1" (aka.
localhost) and port 13 (aka. daytime).
"dayserv" is a STANDALONE (never ever run it from INetD !) server,
that returns a "seconds.microseconds" format, instead of the UNIX
date/time format. It has no real-life use.
Hoin, April 8th, 2001